package linlin;

/**
 * Created by lingfengsan on 2018/9/15.
 *
 * @author lingfengsan
 */
public class ReOrderArray {
    public void reOrderArray(int[]arr){
        int n=arr.length;
        int[]newArr=new int[n];

        //135 246
        for (int i = 0; i <arr.length ; i++) {
            if(arr[i]%2==1){
                for (int j = 0; j <arr.length ; j++) {
                    newArr[j]=arr[i];
                }
            }

        }

    }
}
